package com.ruoyi.personnel.oa.schedule.domain;

import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 查询条件
 */
@Data
public class ScheduleCond extends BaseEntity {
    /**
     * 用户ID
     */
    @NotNull(message = "用户ID为空")
    @ApiModelProperty(value = "主键", required = true)
    private long userId;

    /**
     * 部门编号
     */
    @NotNull(message = "部门编号不能为空")
    @ApiModelProperty(value = "部门编号", required = true)
    private int deptId;
}
